/******************************************************************************

 @File         OGLES2HelloTriangle.h

 @Title        Hello Triangle app

 @Version      

 @Copyright    Copyright (C)  Imagination Technologies Limited.

 @Platform     Qt

 @Description  

******************************************************************************/

#include "QGLWidget"

class COGLES2HelloTriangle : public QGLWidget
{
    Q_OBJECT // must include this if you use Qt signals/slots

public:
    COGLES2HelloTriangle(QWidget *parent = NULL);
    ~COGLES2HelloTriangle();
    void initializeGL();
    void resizeGL(int w, int h);
    void paintGL();

protected:
    unsigned int m_ui32Frame;
    GLuint m_ui32Vbo; // Vertex buffer object handle
    GLuint m_uiFragShader, m_uiVertShader;  // Used to hold the fragment and vertex shader handles
    GLuint m_uiProgramObject;               // Used to hold the program handle (made out of the two previous shaders

};

/*****************************************************************************
 End of file (OGLES2HelloTriangle.h)
*****************************************************************************/

